﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VTR.Core
{
    abstract public class BaseClass
    {
        // Properties
        public string UserName { get; set; }

        // Constructor
        public BaseClass(string userName)
        {
            this.UserName = userName;
        }

        // Methods
        abstract public bool isValid();

        abstract public void Get();

        abstract public void Get(int id);

        abstract public void Insert();

        abstract public void Update();

        abstract public void Delete();

        abstract public void Validate();

        abstract public void UpdateMetaData(bool newRow);


        // Events
        //abstract public event EventHandler OnChange;






    }
}
